import request from '@/utils/request'
// 获取面经列表
export const adminInterviewQuery = params => {
  return request({
    url: '/admin/interview/query',
    params
  })
}
// 新增面经
export const adminInterviewCreate = data => {
  return request({
    url: '/admin/interview/create',
    method: 'post',
    data
  })
}
// 更新面经
export const adminInterviewUpdate = data => {
  return request({
    url: '/admin/interview/update',
    method: 'put',
    data
  })
}
// 删除面经
export const adminInterviewRemove = id => {
  return request({
    url: '/admin/interview/remove',
    method: 'delete',
    data: {
      id
    }
  })
}
